package com.fcscs.cservice.domain;

import com.fcscs.core.domain.HistoricalEntity;

public class ImageResource extends HistoricalEntity {

	private static final long serialVersionUID = 1L;

	private String module;
	private String resourceKey;
	private String entityType;
	private long entityId;
	private byte[] image;
	private byte[] imageThumbnail;
	private long versionId;
	
	@Override
	public DBLoc getDBLoc() {
		return DBLoc.GUEST;
	}

	public String getModule() {
		return module;
	}

	public void setModule(String module) {
		this.module = module;
	}

	public String getResourceKey() {
		return resourceKey;
	}

	public void setResourceKey(String resourceKey) {
		this.resourceKey = resourceKey;
	}

	public String getEntityType() {
		return entityType;
	}

	public void setEntityType(String entityType) {
		this.entityType = entityType;
	}

	public long getEntityId() {
		return entityId;
	}

	public void setEntityId(long entityId) {
		this.entityId = entityId;
	}

	public byte[] getImage() {
		return image;
	}

	public void setImage(byte[] image) {
		this.image = image;
	}

	public void setImageThumbnail(byte[] imageThumbnail) {
		this.imageThumbnail = imageThumbnail;
	}

	public byte[] getImageThumbnail() {
		return imageThumbnail;
	}

	public long getVersionId() {
		return versionId;
	}

	public void setVersionId(long versionId) {
		this.versionId = versionId;
	}
}
